from google.appengine.ext.webapp import template
import sys
import os
sys.path.insert(0, 'Model/')

DEFAULT_TEMPLATE = 'Templates/Default/'
def render(tpl, data = None):
    path = os.path.join(os.path.dirname(__file__), DEFAULT_TEMPLATE + tpl)
    return template.render(path, data)
